package cn.edu.nju.software.zp13.core.nodeDescriptor;

import java.lang.reflect.Field;
import java.lang.reflect.Method;

import cn.edu.nju.software.zp13.core.xmlNodeEntity.XmlNodeEntity;

/**
 * This class stores information which are required to describe a Node().
 * 
 * @author Ivan
 *
 */
public class NodeDescriptor {
	private NodeType type;
	private String nodeName;
	private Field field;
	private Method method;
	private XmlNodeEntity entity;

	public NodeType getType() {
		return type;
	}

	public void setType(NodeType type) {
		this.type = type;
	}

	public String getNodeName() {
		return nodeName;
	}

	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}

	public Field getField() {
		return field;
	}

	public void setField(Field field) {
		this.field = field;
	}

	public Method getMethod() {
		return method;
	}

	public void setMethod(Method method) {
		this.method = method;
	}

	public XmlNodeEntity getEntity() {
		return entity;
	}

	public void setEntity(XmlNodeEntity entity) {
		this.entity = entity;
	}

}
